package factorymethod.main;

/**
 * 曹操具体工厂
 */
public class Caocao implements ISwordFactory {

    /**
     * 实现ISwordFactory接口的createSword方法，生产七星宝刀
     */
    @Override
    public AbstractSword createSword() {
        return new QiXingSword();
    }
}
